[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Provider%
;CatalogFile=DSL3200.cat
DriverVer=04/10/2006

[DestinationDirs]
DefaultDestDir=11
WINDIR.Driver=10
CopySys32.Files=10,SYSTEM32\DRIVERS
Savepath.Image=30,DSL3200
TWAIN.Driver=10,TWAIN_32\Avision\DSL3200
Scanner.ICC=23

[ControlFlags]
; Remove comment from this line if all devices are PnP.
ExcludeFromSelect=*

[Manufacturer]
%Mfg%=Models,ntamd64,ntia64

[Models.ntia64]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_2AEF

[Models.ntamd64]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_2AEF

[Models]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_2AEF

[Scanner.USB]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x01
Events=Scanner.USB.Events
AddReg=Scanner.USB.AddReg
;CopyFiles=CopySys32.Files,DefaultDestDir,WINDIR.Driver,Button.Manager,TWAIN.Driver,Scanner.ICC,Savepath.Image
CopyFiles=CopySys32.Files
DeviceData=Scanner.USB.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
;PropertyPages="6000U.cpl,EnumStiPropPages"

; Win2000 model section
[Scanner.USB.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x01
Events=Scanner.USB.Events
DeviceData=Scanner.USB.DeviceData
AddReg=Scanner.USB.AddReg
;CopyFiles=CopySys32.Files,DefaultDestDir,WINDIR.Driver,Button.Manager,TWAIN.Driver,Scanner.ICC,Savepath.Image
CopyFiles=CopySys32.Files
ICMProfiles="sRGB Color Space Profile.icm"
;PropertyPages="6000U.cpl,EnumStiPropPages"
RegisterDlls=Scanner.NT.RegisterDlls
UnRegisterDlls=Scanner.NT.RegisterDlls

[Scanner.USB.DeviceData]
TwainDS="DSL3200"
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
ISISDriverName=DSL3200.pxn

[Scanner.USB.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Scanner.NT.RegisterDlls]
; New Whistler Tag:  DefaultDir,Subdir,Driver,1=DllRegisterServer,2=DLLInstall.
;11,,SetupExt.dll,2,,%DllRegString%

[Scanner.USB.Events]
Button1Changed="%Button1Changed%",{2F596C80-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button2Changed="%Button2Changed%",{2F596C81-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button3Changed="%Button3Changed%",{2F596C82-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button4Changed="%Button4Changed%",{2F596C83-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button5Changed="%Button5Changed%",{2F596C84-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button6Changed="%Button6Changed%",{2F596C85-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button7Changed="%Button7Changed%",{2F596C86-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button8Changed="%Button8Changed%",{2F596C87-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button9Changed="%Button9Changed%",{2F596C88-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button10Changed="%Button10Changed%",{D87C0866-DD6D-11d7-AAFB-0050BA1ACA6F},Scanner Button Manager

[Scanner.USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,DRIVERPATH,,%10%\TWAIN_32\Avision\DSL3200\DSL3200.dll
HKR,,USDClass,,"{D68317E9-881C-4B15-8D50-33D76FFCAF5C}"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF5C},,,"Avision Scanner"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF5C}\InProcServer32,,,%11%\DSL3200.cpl
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF5C}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\DSL3200"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\Avision\DSL3200\scanner.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\Avision\DSL3200"\"
HKLM,%reg_TWAIN_path%,"CMATCHINI",0x00000000,%10%\TWAIN_32\Avision\DSL3200\cmatch.ini
HKLM,%reg_TWAIN_path%,"UILOC",0x00000000,%10%\TWAIN_32\Avision\DSL3200\advui.ini


[CopySys32.Files]
usbscan.sys,,,20


[TWAIN.Driver]
DSL3200.ds
scanner.ini
Advance.dll
Advui.ini
AV122_C2.icc
DSL3200.dll
Avscan_n.dll
cmatch.ini
Cmatch.dll
logobmp.bmp
Twdsm_n.dll

[WINDIR.Driver]
Cm3.ini

[Scanner.ICC]
AV122_C2.icc

[Button.Manager]
;for Button Manager

[Savepath.Image]
Apsetup.ini
Avscan32.ini

[DefaultDestDir]
DSL3200.cpl
;for Button Manager

[SourceDisksNames]
1="DSL3200",,,\DSL3200

[SourceDisksFiles]
scanner.ini=1
Advui.ini=1
DSL3200.ds=1
Advance.dll=1
Apsetup.ini=1
DSL3200.cpl=1
AV122_C2.icc=1
Avbmp32n.dll=1
DSL3200.dll=1
Avscan_n.dll=1
Avscan32.ini=1
Cm3.ini=1
Cmatch.dll=1
cmatch.ini=1
Twdsm_n.dll=1

[Strings]
Provider="Avision"
Mfg="Avision"
USBDeviceDesc = "DSL3200"
DiskName="Scanner Software CD"
Button1Changed="Func_1"
Button2Changed="Func_2"
Button3Changed="Func_3"
Button4Changed="Func_4"
Button5Changed="Func_5"
Button6Changed="Func_6"
Button7Changed="Func_7"
Button8Changed="Func_8"
Button9Changed="Func_9"
Button10Changed="Connected"
reg_BM_path = "Software\Scanner\Button Manager"
reg_BM_SCAN_path = "Software\Scanner\Button Manager\Scan"
reg_TWAIN_path = "Software\AjaxData\TWAIN"
reg_StillImage_path="Software\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications"
